const getters = {
  sidebar: state => state.app.sidebar,
  menubar: state => state.app.menubar,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  user: state => state.user.info,
  name: state => state.user.name,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  menus: state => state.user.menus,
  stores: state => state.user.stores,
  unitId: state => state.user.unitId,
  company: state => state.user.company,
  permissionRoutes: state => state.permission.routes,
  busParams: state => state.bus.params,
  errorLogs: state => state.errorLog.logs,
  keepAlive: state => state.keepAlive.routes
}
export default getters
